import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {
    NzAffixModule, NzAlertModule, NzAnchorModule, NzAvatarModule, NzBackTopModule, NzBadgeModule,
    NzBreadCrumbModule,
    NzButtonModule, NzCalendarModule, NzCascaderModule, NzCheckboxModule, NzCollapseModule, NzDatePickerModule,
    NzDropDownModule,
    NzFormModule, NzGridModule,
    NzInputModule, NzInputNumberModule,
    NzLayoutModule, NzNotificationModule, NzPopoverModule, NzRateModule, NzSelectModule, NzSpinModule,
    NzStepsModule,
    NzSwitchModule,
    NzTabsModule,
    NzTimelineModule,
    NzTimePickerModule,
    NzToolTipModule, NzTransferModule, NzUploadModule, NzUtilModule, NzMessageModule, NzModalModule, NzPaginationModule,
    NzPopconfirmModule, NzRadioModule, NzProgressModule, NzSliderModule, NzTableModule, NzTagModule, NzMenuModule,
    NzRootModule, NzCarouselModule, NzCardModule
} from "ng-zorro-antd";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {HttpService} from "../service/http.service";
import {MomentService} from "../service/moment.service";
import {JqueryService} from "../service/jquery.service";
import {AuthDirective} from "../directives/auth.directive";
@NgModule({
    imports: [
        CommonModule,
        FormsModule,//todo : 注意,使用ngModel必须引入他
        ReactiveFormsModule,
        NzGridModule,
        NzButtonModule,
        NzAlertModule,
        NzBadgeModule,
        NzCalendarModule,
        NzCascaderModule,
        NzCheckboxModule,
        NzDatePickerModule,
        NzFormModule,
        NzInputModule,
        NzInputNumberModule,
        NzMessageModule,
        NzModalModule,
        NzNotificationModule,
        NzPaginationModule,
        NzPopconfirmModule,
        NzPopoverModule,
        NzRadioModule,
        NzRateModule,
        NzSelectModule,
        NzSpinModule,
        NzProgressModule,
        NzSliderModule,
        NzSwitchModule,
        NzTableModule,
        NzTabsModule,
        NzTagModule,
        NzTimePickerModule,
        NzUtilModule,
        NzStepsModule,
        NzDropDownModule,
        NzMenuModule,
        NzBreadCrumbModule,
        NzLayoutModule,
        NzRootModule,
        NzCarouselModule,
        NzCardModule,
        NzCollapseModule,
        NzTimelineModule,
        NzToolTipModule,
        NzBackTopModule,
        NzAffixModule,
        NzAnchorModule,
        NzAvatarModule,
        NzTransferModule,
        NzUploadModule
    ],
    exports: [
        FormsModule,//todo : 注意,使用ngModel必须引入他
        ReactiveFormsModule,
        NzGridModule,
        NzButtonModule,
        NzAlertModule,
        NzBadgeModule,
        NzCalendarModule,
        NzCascaderModule,
        NzCheckboxModule,
        NzDatePickerModule,
        NzFormModule,
        NzInputModule,
        NzInputNumberModule,
        NzMessageModule,
        NzModalModule,
        NzNotificationModule,
        NzPaginationModule,
        NzPopconfirmModule,
        NzPopoverModule,
        NzRadioModule,
        NzRateModule,
        NzSelectModule,
        NzSpinModule,
        NzProgressModule,
        NzSliderModule,
        NzSwitchModule,
        NzTableModule,
        NzTabsModule,
        NzTagModule,
        NzTimePickerModule,
        NzUtilModule,
        NzStepsModule,
        NzDropDownModule,
        NzMenuModule,
        NzBreadCrumbModule,
        NzLayoutModule,
        NzRootModule,
        NzCarouselModule,
        NzCardModule,
        NzCollapseModule,
        NzTimelineModule,
        NzToolTipModule,
        NzBackTopModule,
        NzAffixModule,
        NzAnchorModule,
        NzAvatarModule,
        NzTransferModule,
        NzUploadModule,
        AuthDirective
    ],
    declarations: [
        AuthDirective
    ],
    providers: [
        HttpService,
        MomentService,
        JqueryService
    ]
})
export class PublicImportModule {
}
